package com.kkb.pojo;

public class Drug {
    private Integer id;

    private String url;

    private Double inPrice;

    private Double outPrice;

    private String name;

    private String type;

    private String simDesc;

    private String duration;

    private String detaDesc;

    private String factory;

    private String direction;

    private String remark;

    private Integer stock;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Double getInPrice() {
        return inPrice;
    }

    public void setInPrice(Double inPrice) {
        this.inPrice = inPrice;
    }

    public Double getOutPrice() {
        return outPrice;
    }

    public void setOutPrice(Double outPrice) {
        this.outPrice = outPrice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getSimDesc() {
        return simDesc;
    }

    public void setSimDesc(String simDesc) {
        this.simDesc = simDesc == null ? null : simDesc.trim();
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration == null ? null : duration.trim();
    }

    public String getDetaDesc() {
        return detaDesc;
    }

    public void setDetaDesc(String detaDesc) {
        this.detaDesc = detaDesc == null ? null : detaDesc.trim();
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory == null ? null : factory.trim();
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction == null ? null : direction.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "Drug{" +
                "id=" + id +
                ", url='" + url + '\'' +
                ", inPrice=" + inPrice +
                ", outPrice=" + outPrice +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", simDesc='" + simDesc + '\'' +
                ", duration='" + duration + '\'' +
                ", detaDesc='" + detaDesc + '\'' +
                ", factory='" + factory + '\'' +
                ", direction='" + direction + '\'' +
                ", remark='" + remark + '\'' +
                ", stock=" + stock +
                '}';
    }
}